#!/bin/bash
DEVICE_FILE_PATH="/home/linaro/ch340/soph_ch340.ko"
DEVICE_FILE="/dev/ttyCH341USB0"

if [ -e  $DEVICE_FILE ]; then
    echo 'File exists.'
else
    echo 'File does not exist.'
    sudo insmod $DEVICE_FILE_PATH
fi

#sudo /home/linaro/aqm/aqm_ser

 
 
